package com.mipo.designpattern.factorypattern.abstractfactory.sample.guifacotry;

public abstract class GUIFactory {
	
	public static GUIFactory getFactory(int system) {
		if (system == 0) {
			return new OSFactory();
		} else {
			return new WinFactory();
		}
	}
	public abstract Button createButton();
	public abstract Label createLabel();
	
}